import java.util.EnumSet;
import org.rsbot.script.methods.Walking;
import org.rsbot.script.wrappers.RSArea;
import org.rsbot.script.wrappers.RSPath.TraversalOption;
import org.rsbot.script.wrappers.RSTile;
import org.rsbot.script.wrappers.RSTilePath;

public class Fxjewellry$Edgeville extends Fxjewellry.Smelter
{
  private final RSArea a = new RSArea(new RSTile(3105, 3497), new RSTile(3111, 3503));

  private final RSArea b = new RSArea(new RSTile(3090, 3487), new RSTile(3099, 3500));

  private final RSTile[] bankToFurnacePath = { new RSTile(3097, 3497), new RSTile(3103, 3499), new RSTile(3108, 3500) };

  private final RSTilePath bankToFurnace = Fxjewellry.access$200(this.this$0).newTilePath(this.bankToFurnacePath);

  private boolean reversed = false;

  public Fxjewellry$Edgeville(Fxjewellry paramFxjewellry)
  {
    super(paramFxjewellry);
  }

  public RSArea getArea()
  {
    return this.a;
  }

  public RSArea getBankArea() {
    return this.b;
  }

  public void walkToBank() {
    if (!this.reversed) {
      this.bankToFurnace.reverse();
      this.reversed = true;
    }
    this.bankToFurnace.traverse(EnumSet.of(RSPath.TraversalOption.HANDLE_RUN));
  }

  public void walkToFurnace() {
    if (this.reversed) {
      this.bankToFurnace.reverse();
      this.reversed = false;
    }
    this.bankToFurnace.traverse(EnumSet.of(RSPath.TraversalOption.HANDLE_RUN));
  }
}